﻿<?xml version="1.0" encoding="utf-8" ?>
<GadgeteerDefinitions xmlns="http://schemas.microsoft.com/Gadgeteer/2011/Hardware">
  <MainboardDefinitions>
    <!-- This mainboard definition should be filled in.  Mouse over any attribute name to get more help about that attribute. -->
    <MainboardDefinition 
            Name="FEZHydra" 
            Type="GHIElectronics.Gadgeteer.FEZHydra"
            HardwareVersion="1.0"
            Image="Resources\Image.jpg"
            BoardWidth="86.868"
            BoardHeight="61.976"
            MinimumGadgeteerCoreVersion="2.42.500"
            HelpUrl="http://www.ghielectronics.com/catalog/product/328"
            >

      <!-- This lists the assemblies which provides the API to this mainboard, i.e. the output assemblies of this template. -->
      <!-- If you do not provide support for both NETMF 4.1 and 4.2, the relevant lines should be removed -->
      <!-- NB you should use the same name for the same assembly's NETMF 4.1 and NETMF 4.2 versions, since this will make it easier for users to change framework versions -->
      <Assemblies>
        <!--<Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZHydra" />-->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZHydra" />
	  </Assemblies>
      
      <!-- This is a list of sockets provided by this mainboard for modules to be attached to. -->
      <ProvidedSockets>

        <ProvidedSocket Label="1" Left="15.07" Top="6.13" Orientation="90" ConstructorParameter="1">
          <Types>
            <Type>Z</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="2" Left="28.4" Top="6.04" Orientation="90" ConstructorParameter="2">
          <Types>
            <Type>D</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="3" Left="42.91" Top="6.04" Orientation="90" ConstructorParameter="3">
          <Types>
            <Type>S</Type>
            <Type>Y</Type>
          </Types>
          <SharedPinMaps>
            <SharedPinMap NetId="SPI1_MOSI" SocketPin="7"/>
            <SharedPinMap NetId="SPI1_MISO" SocketPin="8"/>
            <SharedPinMap NetId="SPI1_SCK" SocketPin="9"/>
          </SharedPinMaps>
        </ProvidedSocket>

        <ProvidedSocket Label="4" Left="57.33" Top="6.04" Orientation="90" ConstructorParameter="4">
          <Types>
            <Type>S</Type>
            <Type>U</Type>
            <Type>Y</Type>
          </Types>
          <SharedPinMaps>
            <SharedPinMap NetId="SPI1_MOSI" SocketPin="7"/>
            <SharedPinMap NetId="SPI1_MISO" SocketPin="8"/>
            <SharedPinMap NetId="SPI1_SCK" SocketPin="9"/>
          </SharedPinMaps>
        </ProvidedSocket>

        <ProvidedSocket Label="5" Left="71.75" Top="6.04" Orientation="90" ConstructorParameter="5">
          <Types>
            <Type>I</Type>
            <Type>U</Type>
            <Type>X</Type>
          </Types>
          <SharedPinMaps>
            <SharedPinMap NetId="I2CSDA" SocketPin="8"/>
            <SharedPinMap NetId="I2CSCL" SocketPin="9"/>
          </SharedPinMaps>
        </ProvidedSocket>

        <ProvidedSocket Label="6" Left="80.17" Top="27.7" Orientation="0" ConstructorParameter="6">
          <Types>
            <Type>I</Type>
            <Type>K</Type>
            <Type>U</Type>
            <Type>X</Type>
          </Types>
          <SharedPinMaps>
            <SharedPinMap NetId="I2CSDA" SocketPin="8"/>
            <SharedPinMap NetId="I2CSCL" SocketPin="9"/>
          </SharedPinMaps>
        </ProvidedSocket>

        <ProvidedSocket Label="7" Left="80.17" Top="42.18" Orientation="0" ConstructorParameter="7">
          <Types>
            <Type>P</Type>
            <Type>U</Type>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="8" Left="71.75" Top="56.1" Orientation="270" ConstructorParameter="8">
          <Types>
            <Type>F</Type>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="9" Left="57.33" Top="56.1" Orientation="270" ConstructorParameter="9">
          <Types>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="10" Left="42.91" Top="56.1" Orientation="270" ConstructorParameter="10">
          <Types>
            <Type>R</Type>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="11" Left="29.4" Top="56.1" Orientation="270" ConstructorParameter="11">
          <Types>
            <Type>G</Type>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="12" Left="16.07" Top="56.1" Orientation="270" ConstructorParameter="12">
          <Types>
            <Type>B</Type>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="13" Left="5.72" Top="42.18" Orientation="180" ConstructorParameter="13">
          <Types>
            <Type>A</Type>
            <Type>T</Type>
            <Type>Y</Type>
          </Types>
        </ProvidedSocket>

        <ProvidedSocket Label="14" Left="5.72" Top="27.76" Orientation="180" ConstructorParameter="14">
          <Types>
            <Type>A</Type>
            <Type>X</Type>
          </Types>
        </ProvidedSocket>

      </ProvidedSockets>
      
      <LibrariesProvided>
        <!-- This should be filled in with a list of assemblies provided by the mainboard which are not the standard NETMF assemblies.  Delete the example "CustomMFAssembly" below. -->
        <!-- Providing this list allows the designer to automatically determine when a module that only works with specific mainboards is compatible with the current mainboard. -->
        <!--
        <Assembly MFVersion="4.1" Name="CustomMFAssembly"/>
        <Assembly MFVersion="4.2" Name="CustomMFAssembly"/>
        -->
        
        <!-- The mainboard assembly itself (as listed under <Assemblies> above) should also be listed here, to enable modules representing built-in functionality of a mainboard.-->
		<Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZHydra" />
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZHydra" />
		<Assembly MFVersion="4.3" Name="GHIElectronics.Gadgeteer.FEZHydra" />
	  </LibrariesProvided>
      
    </MainboardDefinition>
  </MainboardDefinitions>
</GadgeteerDefinitions>